package io.kiki.task.common.core.enums;

import lombok.Getter;
import org.springframework.http.MediaType;


@Getter
public enum ContentTypeEnum {

    JSON(1, MediaType.APPLICATION_JSON),
    FORM(2, MediaType.APPLICATION_FORM_URLENCODED);

    private final Integer type;
    private final MediaType mediaType;

    ContentTypeEnum(Integer type, MediaType mediaType) {
        this.type = type;
        this.mediaType = mediaType;
    }


}
